import request from '@/utils/request'

// 查询语音转写记录列表
export function listVoice_record(query) {
  return request({
    url: '/ora/voice_record/list',
    method: 'get',
    params: query
  })
}

// 查询语音转写记录详细
export function getVoice_record(id) {
  return request({
    url: '/ora/voice_record/' + id,
    method: 'get'
  })
}

// 新增语音转写记录
export function addVoice_record(data) {
  return request({
    url: '/ora/voice_record',
    method: 'post',
    data: data
  })
}

// 修改语音转写记录
export function updateVoice_record(data) {
  return request({
    url: '/ora/voice_record',
    method: 'put',
    data: data
  })
}

// 删除语音转写记录
export function delVoice_record(id) {
  return request({
    url: '/ora/voice_record/' + id,
    method: 'delete'
  })
}
